package com.example.administrator.basedemos.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * 创建者     ZCL
 * 创建时间   2018/3/12 17:23
 * 描述	      ${TODO}
 * <p>
 * 更新者     $Author$
 * 更新时间   $Date$
 * 更新描述   ${TODO}
 */

public class MainItem implements MultiItemEntity {
    private  HashMap<Integer, String> hashMap;
    private ArrayList<String> list;
    private int type;

    public MainItem(int type, HashMap<Integer, String> hashMap) {
        this.hashMap = hashMap;
        this.type = type;
    }

    public HashMap<Integer, String> getHashMap() {
        return hashMap;
    }

    public void setHashMap(HashMap<Integer, String> hashMap) {
        this.hashMap = hashMap;
    }



    public MainItem(int type, ArrayList<String> list) {
        this.list = list;
        this.type = type;
    }

    public ArrayList<String> getList() {
        return list;
    }

    public void setList(ArrayList<String> list) {
        this.list = list;
    }


    public int getType() {
        return type;
    }
    public void setType(int type) {
        this.type = type;
    }


    @Override
    public int getItemType() {
        return type;
    }
}
